﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Configuration;
using System.Data.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ausy.Servey.QuestionProvider;
using Ausy.Servey.AccountProvider;
using Ausy.Servey.AccountProvider.Contract;

namespace Ausy.Servey.ServiceUnitTests
{
    /// <summary>
    /// Cette Classe représente un test unitaire du service de création d'un compte
    /// </summary>
    [TestClass]
    public class AccountServiceUnitTest
    {
        [TestMethod]
        public void CreateAccountMethod()
        {
            var account = new Account();
            account.Identifier = Guid.NewGuid();
            account.FirstName = "Olivier";
            account.LastName = "NAVARRE";
            account.Phone = "0606060606";
            account.Email = "ona4@web235.com";
            account.CompanyName = "AUSY";
            account.Function = "DT";
            account.Experience = "11";

            IAccountService service = new AccountService();
            var result = service.CreateAccount(account);

        }
        
    }
}
